// ES6之前拼接字符串和其他标识符
const name = "why"
const age = 18
const height = 1.88

// console.log("my name is " + name +",age is" + age + ",height is" + height )

// ES6模板字符串
const message = `my name is ${name},age is ${age} ,height is ${height}`
console.log(message)

function doubleAge(){
    return age *2
}

const info2 = `double age is ${doubleAge()}`
console.log(info2)